/* Let's have a fancy custom font */

@font-face {
	font-family: 'KlavikaBold';
	src: url('klavika_bold-webfont.eot');
	src: url('klavika_bold-webfont.eot?#iefix') format('embedded-opentype'),
		url('klavika_bold-webfont.woff') format('woff'),
		url('klavika_bold-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* Basic layout stuff */

html, body {
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 0.9em;
}

#top {
	width: 100%;
	height: 70px;
	background-color:#fff;
	background-image: url(../img/posecco.png);
	background-repeat: no-repeat;
	float: left;
	padding-left: 270px;
	margin-bottom: 1em;
	position: fixed;
	top: 0;
	border-bottom: 1px solid #000;
}

#bottom {
	width: 100%;
	text-align: center;
	background-color:#fff;
	position: fixed;
	bottom: 0;
	border-top: 1px solid #000;
}

.nav {
	list-style-type: none;
	display: block;
	clear: both;
	width: 100%;
	padding: 0;
	margin-bottom: 1em;
}

.nav li {
	margin: 0;
	float: left;
}

.nav li a, .button {
	border: 1px solid #000;
	display: block;
	padding: 1em;
	background-color: #fff;
	text-decoration: none;
	font-weight: bold;
	color: #000;
}

.button {
	width: auto;
	display: table-cell;
}

.nav li a:hover, .button:hover {
	border: 1px solid #000;
	cursor: pointer;
}

#content {
	margin-top: 50px;
	padding-top: 3em;
	clear: both;
	margin-bottom: 1em;
	padding-bottom: 1em;
}

/* Form styles */

form {
	width: 55em;
}

label {
	width: 15em;
	display: block;
	float: left;
	font-weight: bold;
}

ul.errorlist {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.errorlist li {
	color: #ff0000;
	padding: 0;
	margin: 0;
}

span.helptext {
	display: none;
}

input, select, option {
	font-size: 1em;
	width: 250px;
	font-family: Verdana, Helvetica, sans-serif;
}

textarea {
	width: 250px;
	font-size: 1em;
	font-family: Verdana, Helvetica, sans-serif;
}

.readOnly {
	border: 0;
}

/* Datepicker */

#ui-datepicker-div {
	width: 300px;
	margin-top: -2em;
	margin-left: -25px;
	padding: 1em;
	background-color: #fff;
	border: 1px solid #ccc;
}

.ui-datepicker-prev {
	float: left;
}

.ui-datepicker-next {
	float: right;
}

.ui-datepicker-title {
	text-align: center;
}

.ui-datepicker-week-end {
	background-color: #ccc;
}

.ui-datepicker-calendar {
	margin-top: 1em;
}

.ui-datepicker-calendar td, .ui-datepicker-calendar th {
	width: 40px;
	height: 20px;
	text-align: center;
	vertical-align: middle;
}

/* List styles */

table.list {
	margin: 0;
	padding: 0;
	border: 0;
	width: 100%;
}

table.list th,
table.list td {
	padding: 1em;
	margin: 0;
	text-align: left;
}

table.list .summary,
table.list .description {
		width: 80%;
}

table.list .rfc,
table.list .createDate,
table.list .updateDate,
table.list .plannedStart,
table.list .plannedEnd {
		white-space: nowrap;
}

table.list th {
	background-color: #ccc;
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 1.5em !important;
	cursor: pointer;
}

th.headerSortUp { 
	background-image: url(../img/asc.gif);
}

th.headerSortDown { 
	background-image: url(../img/desc.gif);
}

.locked {
	color: #ff6666;
}
